#include <iostream>

#include "Socket/Socket.h"
#include "Server.h"


using namespace std;

int main()
{
	Server::getInstance()->start();

	try
	{
		while(Server::isActive)
		{
			Server::getInstance()->update();
		}
	}
	catch(...)
	{
		cerr << "Unknown error" << endl;
	}
}


